﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 料品厂牌数据传输对象 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfItemTradeMarkDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfItemTradeMarkDTOData()
		{
			initData();
		}
		private void initData()
		{
					OperateType= 0; 
				
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        			if (this.TradeMark != null) 
			{
				this.TradeMark.DoSerializeKeyList(dict);
			}
	        			if (this.OldTradeMark != null) 
			{
				this.OldTradeMark.DoSerializeKeyList(dict);
			}
	        	        			if (this.CopyOfItemMasterDTO != null) 
			{
				this.CopyOfItemMasterDTO.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfItemTradeMarkDTOData(  System.Int32 operateType  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData tradeMark  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData oldTradeMark  , UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfItemMasterDTOData copyOfItemMasterDTO  )
		{
			initData();
			this.OperateType = operateType;
			this.TradeMark = tradeMark;
			this.OldTradeMark = oldTradeMark;
			this.DescFlexField = descFlexField;
			this.CopyOfItemMasterDTO = copyOfItemMasterDTO;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 操作方式
		/// 料品厂牌数据传输对象 Copy.Misc.操作方式
		/// </summary>
		private System.Int32 m_operateType ;
		[DataMember(IsRequired=false)]
		public System.Int32 OperateType
		{
			get	
			{	
				return m_operateType ;
			}
			set	
			{	
				m_operateType = value ;	
			}
		}
			
		

		/// <summary>
		/// 厂牌
		/// 料品厂牌数据传输对象 Copy.Misc.厂牌
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_tradeMark ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TradeMark
		{
			get	
			{	
				return m_tradeMark ;
			}
			set	
			{	
				m_tradeMark = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改前厂牌
		/// 料品厂牌数据传输对象 Copy.Misc.修改前厂牌
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_oldTradeMark ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData OldTradeMark
		{
			get	
			{	
				return m_oldTradeMark ;
			}
			set	
			{	
				m_oldTradeMark = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 料品厂牌数据传输对象 Copy.Misc.实体扩展字段
		/// </summary>
		private UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品数据传输对象
		/// 料品厂牌数据传输对象 Copy.Misc.料品数据传输对象
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemMasterDTOData m_copyOfItemMasterDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemMasterDTOData CopyOfItemMasterDTO
		{
			get	
			{	
				return m_copyOfItemMasterDTO ;
			}
			set	
			{	
				m_copyOfItemMasterDTO = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
										
		#endregion 
	} 	
}
